package com.sanhuo.security.entity;

import com.sanhuo.triild.annotation.Table;

import java.util.Date;

@Table("user_token")
public class UserToken {
    private String id;
    private String userId;//用户Id
    private String tokenStr;//token
    private Date time;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getTokenStr() {
        return tokenStr;
    }

    public void setTokenStr(String tokenStr) {
        this.tokenStr = tokenStr;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }
}
